Method and device for refreshing reference cells

ABSTRACT

Reference cells are refreshed in a non-volatile memory that includes a plurality of memory cells. A selected reference cell and a non-used memory cell are read simultaneously, and a signal read from the reference cell is compared to a signal read from the non-used memory cell. A refresh signal for refreshing the reference cell is supplied when the signal read therefrom is less than the signal read from the non-used memory cell.

FIELD OF THE INVENTION

[0001] The invention relates to integrated circuit memories, and more particularly, to non-volatile type memories known under the acronyms EPROM for Electrically Programmable Read Only Memory, EEPROM for Electrically Erasable and Programmable Read Only Memory, and FLASH for a memory which is erasable in groups of memory cells. In such non-volatile memories, the invention relates to a method and device for checking the electrical state of reference cells used for reading, and for refreshing their electrical state as required.

BACKGROUND OF THE INVENTION

[0002] A non-volatile type memory comprises a plurality of memory cells (FIG. 1) CE₁₁, CE₁₂, CE₁₃, CE₂₁, CE₂₂ and CE₂₃ which are arranged at the intersections of lines L1, L2 and columns C1, C2, C3. Each memory cell CE comprises an insulated gate MOSFET transistor having a drain D connected to a column, and a source S connected to ground and a gate G connected to a line. To erase the memory cell, the source S is connected to a high voltage, such as 12 volts, for example.

[0003] Information is stored based upon an electrical charge stored under the gate G. This charge is formed by electrons or holes. The storage of these charges is obtained by applying appropriate voltages on the electrodes D, S and G of each cell using circuits not shown in FIG. 1. The memory cell therefore exhibits two states: one without an electrical charge and the other with an electrical charge. The states respectively correspond, by convention, to a binary 1 and a binary 0.

[0004] Readout of the memory cells is achieved by applying other appropriate voltages on the electrodes D, S and G of each cell such that the signal supplied by a charged cell on the column is different from that supplied by a non-charged cell. By comparing the readout signal with that supplied by a reference cell, with the reference cell corresponding to a non-charged cell, a determination can be made as to whether the read memory cell is charged or not.

[0005] More specifically, the drain/source current Id (FIG. 2) of a memory cell varies as a function of the voltage VG applied to the gate G according to curve EFFA in the erased state (without charge), and according to curve PROG in the programmed state (charged). Curve A shown in dotted lines belongs to the reference cell and corresponds to a non-charged memory cell, but whose output signal is applied to an amplifier whose gain is less than one.

[0006] During a readout operation, a gate voltage VG1 is applied, which is between the two curves EFFA and PROG, and a measurement is made of the current Id1 of cell CE and the current Iref of the reference cell. If Id1 is less than Iref1, the memory cell is in the charged or programmed state (curve PROG). If Id1 is greater than Iref1, the memory cell is in the non-charged or erased state (curve EFFA).

[0007] The reference cells are produced in the form of an additional column REF of the memory such that a reference cell is called upon at each readout of a memory cell of the line. As a result of being called upon, the reference cell has a tendency to be charged each time, which causes its characteristic curve to become displaced towards the PROG curve. When this displacement is too great (curve E), a readout error results since the charged cell supplies a current Id2 greater than the current Iref2. This results in the cell being considered in the erased state, whereas the cell is actually in the programmed state. This error can appear after a short or long period of time depending on the characteristics of the reference cell, and the number of times the latter is called upon.

SUMMARY OF THE INVENTION

[0008] In view of the foregoing background, an object of the present invention is to avoid readout errors in a non-volatile memory due to a change in characteristics or a drift in the reference cell.

[0009] This and other objects, advantages and features according to the present invention are achieved by refreshing the electrical state of first degree reference cells when their drift exceeds a certain threshold determined by one or more other reference cells (second degree reference cells). The second degree reference cells can also be refreshed when their drift exceeds another threshold determined by one or more reference cells (third degree reference cells).

[0010] A device for refreshing at least one reference memory cell according to the invention is implemented in a recurrent manner, for example, at regular time intervals such as every year, or after a certain number of memory readout operations. The refresh of the reference cells can be achieved in different ways, either by their erasure or by a shift in their characteristic curve, or by a modification in the gain of the readout amplifier.

[0011] The invention also relates to a method of refreshing at least one reference memory cell in a non-volatile memory. The reference cell exhibits a characteristic curve which corresponds to a characteristic curve of an erased memory cell, but is shifted towards the characteristic curve of a programmed memory cell.

[0012] The method comprises the following steps:

[0013] (a) selecting at least a first non-used memory cell as a checking cell, and positioning its characteristic curve between that of the reference cell and that of a programmed cell;

[0014] (b) simultaneously reading a reference cell and the checking cell;

[0015] (c) comparing the signals read in step (b); and

[0016] (d) supplying a refresh signal for refreshing the selected reference cell when the signal read on the latter is less than the signal read on the checking cell.

[0017] When several reference cells are to be refreshed, step (d) is followed by the following step:

[0018] (e) returning to step (b) for another reference cell.

[0019] The refresh signal effects the characteristic curve of the reference cell in different ways: by erasing it, by performing a voltage shift in the reference cell, or by modifying the gain of the readout amplifier for the selected reference cell.

[0020] The device for refreshing at least one reference memory cell in a non-volatile memory includes a reference cell exhibiting a characteristic curve which corresponds to a characteristic curve of an erased memory cell, but is shifted towards the characteristic curve of a programmed memory cell. The device comprises means for selecting a non-used memory cell as a checking cell, and positioning the latter according to a characteristic curve arranged between that of the reference cell and that of a programmed cell. There are also means for simultaneously reading a reference cell and the checking cell.

[0021] The device further comprises means for comparing the signals read on the reference cell and on the checking cell, and supplying a refresh signal for refreshing the reference cell when the signal read on the reference cell is less than the signal read on the checking cell. There are means for modifying, in the presence of the refresh signal, the characteristic curve of the reference cell to return it substantially to its initial state.

BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Other characteristics and advantages of the present invention shall become more apparent from reading the following description of specific embodiments in conjunction with the appended drawings, in which:

[0023]FIG. 1 is a diagram of a portion of a non-volatile memory to which the present invention is applicable;

[0024]FIG. 2 is a diagram of curves characterizing the states of memory cells and reference cells according to the present invention;

[0025]FIG. 3 is a diagram of a non-volatile memory implementing the device and method according to the present invention;

[0026]FIG. 4 is a diagram of curves characterizing the states of erased, programmed, reference and checking cells for a readout device with the gain of the signal read on the reference cell and on the checking cell being modified, and with the recalibration being achieved by erasure of the reference cell according to the present invention;

[0027]FIG. 5 is a diagram of curves characterizing the states of erased, programmed, reference and checking cells for a voltage shifting device according to the present invention;

[0028]FIG. 6 is a diagram of curves characterizing the states of erased, programmed, reference and checking cells for a reference cell gain modification device according to the present invention; and

[0029]FIG. 7 is a simplified example of a specific embodiment of the device according to the present invention.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0030] A non-volatile memory 10 to which the invention is applicable comprises n*r memory cells CE, each arranged at an intersection of a line L1 to Ln and a column C1 to Cr according to the diagram of FIG. 1. A memory cell is selected by selecting a line or row via addressing circuit 12, and selecting a column via addressing circuit 14. The selection voltages are supplied by power supply circuits 16 and 18, and have the appropriate values to perform the disclosed operation, such as recording or reading a binary digit.

[0031] Operations performed on the memory are controlled by a control circuit 24, such as a microprocessor or microcontroller. In addition to the r columns, the memory comprises at least one supplementary column REF comprising n reference cells Cref, from Cref1 to Crefn, one per line, serving as a reference during readout.

[0032] The device according to the invention comprises at least one supplementary memory cell Cveri which serves as reference for the reference memory cells Cref to determine the drift of the latter relative to their initial state. To serve as a reference, memory cell Cveri must be set to the same initial state as a readout reference cell, i.e., in the erased state (curve EFFA).

[0033] Moreover, the characteristic curve (FIG. 2) must be shifted towards the one corresponding to the programmed state beyond curve A. This is done either by an appropriate choice of gain for the readout amplifier to obtain a curve VERI1g located between curve A and curve PROG (FIG. 4), or by shifting the base or zero point of the curve, without changing its slope, to obtain a curve VERI1d located between a curve A′ of the readout reference cell and curve PROG (FIG. 5).

[0034] In the case of FIG. 4, memory cell Cveri is an erased memory cell whose characteristic curve is modified by modifying the gain of the readout amplifier to obtain curve VERI1g which corresponds to a gain of less than the one that is applied to the signal on the reference cell Cref. As the readout operations accumulate, the reference cell Cref builds up a charge and its characteristic curve A1 intersects curve VERI1g of the checking cell.

[0035] It is then considered that the reference cell has drifted too far, and that it must be readjusted or repositioned. The invention provides for a readout of each reference cell Cref1 to Crefn, and a comparison of the read signal with the one read on the checking cell Cveri. The readouts are performed at gate voltage Vveri.

[0036] In the case of FIG. 4, if the current I1 of the reference cell is less than the current Iveri of the checking cell, it is determined that the reference cell has too much charge and that it must be erased for its characteristic curve to return to A. In the opposite case, the reference cell Cref is left as it is.

[0037] In the case of FIG. 5, if the current I′1 of the reference cell is less than the current I′veri of the checking cell, it is determined that the reference cell has too much charge. Its characteristic curve must be readjusted towards curve EFFA to be placed in the region of curve A′. This is done by applying a corrective readjusting (or repositioning) voltage. In the opposite case, the cell Cref is left as it is.

[0038] There is a third readjusting or recalibrating approach which is to change the gain of the readout amplifier, as shall be explained in connection with the curves of FIG. 6, which is similar to that of FIG. 4. After a certain period of time, the curve of the reference cell drifts towards curve PROG to become A1. This curve A1 corresponds to a certain gain of the readout amplifier which is, for example, half that of the memory cell. The proposed approach includes modifying the gain of the reference cell readout amplifier to make it equal to that of a readout cell. The curve A2 is obtained which corresponds to that of an erased memory cell, but shifted towards the right of FIG. 6.

[0039] The first two approaches described above are implemented by two devices, each comprising a detection circuit for detecting the drift of the reference cell, and a readjusting circuit for readjusting the reference cell. The detection circuit (FIGS. 3 and 7) comprises at least one memory cell Cveri which is selected to be read by a signal VERI applied to a column selection circuit 14. The signal read on the cell Cveri is applied to an input terminal Bref of a comparator 28 via an amplifier 26veri.

[0040] The signal read on the readout reference cell by the address circuit 12 is applied to the other input terminal BC of the comparator 22 via an amplifier 26ref. Comparator 28 is formed by comparator 22 in the diagram of FIG. 3, and there is a switch 30 to direct the signals read on the memory cells to the appropriate input terminals.

[0041] In the (a) position, input terminal BC is connected to the r columns while input terminal Bref is connected to the reference column REF. In the (b) position, input terminal BC is connected to column REF while the input terminal Bref is connected to cell Cveri.

[0042] The signal Sr1 (first approach) or Sr2 (second approach) on the output terminal of comparator 28 is applied to the reference cell selected via a readjusting circuit RE1 to REn. The output signal of the comparator 28 passes to a given state when I1 or I′1 is respectively less than Iveri and I′veri, which means that the drift has exceeded the threshold. The comparator remains in the other state in the opposite case.

[0043] In the first approach, circuit RE performs an erasure of the reference cell by applying the appropriate voltages on the drain, source and gate electrodes, such that the curve returns to A (FIG. 4, arrow 40). In the second approach, circuit RE performs a shift in the source voltage of the memory cell transistor, which displaces the characteristic curve towards the one corresponding to an erasure to return it to the region of A′ (FIG. 5, arrow 42).

[0044] In the first approach, the function of circuit RE is preferably implemented via the microcontroller 24 that performs an erase operation. In the second approach, the source S of each reference cell is connected to a voltage source which produces the shift of curve A′. When this curve arrives at A′1, circuit RE short circuits the voltage source such that the curve returns to A′ when the short circuit is removed.

[0045] In the third approach, there is no RE circuit per reference cell Cref, but the gain of the readout amplifier 26ref associated with the column REF is modified to pass from curve A1 to curve A2 (FIG. 6). The modification in gain is provided by obtaining unity gain instead of a gain less than unity for obtaining curve A (FIG. 6). This modification in gain only intervenes if all the reference cells Cref have drifted beyond the limit fixed by curve A1. Each reference cell Cref is tested and the gain of the amplifier 26ref is modified only if all the cells have drifted beyond the fixed limit.

[0046] The microcontroller 24 counts the reference cells which have drifted beyond the established limit. If the number obtained is equal to n, the gain of the amplifier 26ref is modified. In the opposite case, there is no modification.

[0047] As a variation, the check is halted, and there is no gain modification as soon as a reference cell has not exceeded the established limit, without waiting for the check on the n reference cells. In FIGS. 3 and 7, this third approach is represented schematically by the signal Sr3 supplied by the microcontroller 24 of the diagram of FIG. 3, which is applied to the amplifier.

[0048] The refresh cycle for the reference cells Cref is initialized either at regular time intervals during the use of the memory 10, for example, once per year, or either after totaling a certain number of address cycles of the memory 10. This initialization is performed by the microcontroller 24 which comprises an internal clock for measuring time or a counter for counting the memory cycles.

[0049] The invention has been described using just one checking cell, but is also applicable to the use of several checking cells, for example, one per memory sector. The invention is also applicable for refreshing several checking cells using another checking cell for reference. 

That which is claimed is:
 1. Method of refreshing at least one reference memory cell (Cref) in a non-volatile type of memory (10), said reference cell (Cref) exhibiting a characteristic curve (A, A′) which corresponds to a characteristic curve of an “erased” memory cell, but shifted towards the characteristic curve of a “programmed” memory cell, characterized in that it comprises the following steps: (a) selecting at least a first non-used memory cell (10) as a checking cell (Cveri) and positioning its characteristic curve (VERI1g, VERI1d, VERI2d) between that of the reference cell and that of a “programmed” cell, (b) simultaneously selecting in readout a reference cell (Cref) and the checking cell (Cveri), (c) comparing the signals read in step (b), (d) supplying a refresh signal (Sr1, Sr2, Sr3) for refreshing the reference cell (Cref) when the signal read on the latter is less than the signal read on the checking cell (Cveri).
 2. Method according to claim 1, characterized in that it further comprises the step of: (e) returning to step (b) for another reference cell.
 3. Method according to claim 1 or 2, characterized in that the refresh signal (Sr1, RE) commands an erasure of the selected reference cell.
 4. Method according to claim 1 or 2, characterized in that the refresh signal (Sr2, RE) commands the applying of a voltage for readjusting the selected reference cell.
 5. Method according to claim 1 or 2, characterized in that the refresh signal (Sr3) commands a modification in the gain of the readout amplifier (26ref) common to all the reference cells, and in that the refresh signal is established only if all the reference cells (Cref) have supplied a signal less than the signal read on the checking cell (Cveri).
 6. Method according to any one of the preceding claims, characterized in that steps (a) to (d) are repeated to the refresh the checking cell(s) (Cveri) by choosing a second checking cell.
 7. Device for refreshing at least one reference memory cell (Cref) in a non-volatile type of memory, said reference cell (Cref) exhibiting a characteristic curve (A, A′) which corresponds to a characteristic curve of an “erased” memory cell but shifted towards the characteristic curve of a “programmed” memory cell, characterized in that it comprises: means (12, 14, 16, 18) for selecting a non-used memory cell as a checking cell (Cveri) and positioning the latter according to a characteristic curve (VERI1g, VERI1d, VERI2d) between that of the reference cell and that of a programmed cell, means for simultaneously selecting (VERI, 30) in readout a reference cell (Cref) and the checking cell, means (22, 28, 30) for comparing the signals read on the reference cell (Cref) and on the checking cell (Cveri), and supplying a refresh signal (Sr1, Sr2, Sr3) of the reference cell when the signal read on the reference cell is less than the signal read on the checking cell, and means for modifying, in the presence of the refresh signal (Sr1, Sr2, Sr3), the characteristic curve of the reference cell (Cref) in order to return it to a state close to the initial state.
 8. Device according to claim 7, characterized in that the means for modifying the characteristic curve comprise selection means (RE) for selecting in view of erasing said reference cell.
 9. Device according to claim 7, characterized in that the means for modifying the characteristic curve comprise means (RE) for effecting a voltage shift of the selected reference cell.
 10. Device according to claim 7, characterized in that the means for modifying the characteristic curve of the reference cell comprise means for modifying the gain of the readout amplifier (26ref) common to all the reference cells.
 11. Device according to any one of claims 7 to 10, characterized in that the means for comparing the signals read on the reference cell (Cref) and the checking cell (Cveri) comprise a comparator (22) having two input terminals and a switch (30) having two states, a first state for comparing the signals read on a memory cell (CE) and a reference cell (Cref) and a second state for comparing the signals read on a reference cell and a checking cell (Cveri). 